package com.alks.function.data.dto.administration;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.List;

@Getter
@Setter
@NoArgsConstructor
@ToString
public class PcEmpAttendDto {

    private int seqNo;

    @ApiModelProperty("年月")
    private String years;

    @ApiModelProperty("部门")
    private String deptName;

    @ApiModelProperty("工号")
    private String workerId;

    @ApiModelProperty("姓名")
    private String workerName;

    @ApiModelProperty("入厂日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    private LocalDate dateIn;

    private String day1;
    private String day2;
    private String day3;
    private String day4;
    private String day5;
    private String day6;
    private String day7;
    private String day8;
    private String day9;
    private String day10;
    private String day11;
    private String day12;
    private String day13;
    private String day14;
    private String day15;
    private String day16;
    private String day17;
    private String day18;
    private String day19;
    private String day20;
    private String day21;
    private String day22;
    private String day23;
    private String day24;
    private String day25;
    private String day26;
    private String day27;
    private String day28;
    private String day29;
    private String day30;
    private String day31;

    @ApiModelProperty(value = "迟到次数",name = "lateNums")
    private BigDecimal lateNums;

    @ApiModelProperty(value = "迟到分钟",name = "lateMinutes")
    private BigDecimal lateMinutes;

    @ApiModelProperty(value = "早退次数",name = "earlyNums")
    private BigDecimal earlyNums;

    @ApiModelProperty(value = "早退分钟",name = "earlyMinutes")
    private BigDecimal earlyMinutes;

    @ApiModelProperty(value = "请假分钟",name = "leaveDays")
    private BigDecimal leaveDays;

    @ApiModelProperty(value = "旷工分钟",name = "outDays")
    private BigDecimal outDays;

    @ApiModelProperty(value = "正班实数",name = "outDays")
    private String workHours;

    private List<Integer> list;
}
